package com.gitee.ywj1352.common.message;

public class RequestMessage extends Message {
    public RequestMessage() {
    }

    public RequestMessage(Long streamId, Class<?>[] paramsTypes, Object[] params) {
        MessageHeader messageHeader = new MessageHeader();
        messageHeader.setStreamId(streamId);
        this.setMessageHeader(messageHeader);
        this.generate(paramsTypes , params);
    }

}
